//package com.woniuxy.crm.srevice;
//
//import com.woniuxy.crm.Dao.EmployeeMapper;
//import com.woniuxy.crm.Exception.EmployeeNopeopel;
//import com.woniuxy.crm.Exception.EmployeeSameTelenub;
//import com.woniuxy.crm.entity.Employee;
//import lombok.extern.slf4j.Slf4j;
//
//@Slf4j
//public class EmployeeService {
//    public static void add(Employee employee) {
//        try {
//            EmployeeMapper.add(employee);
//        } catch (EmployeeSameTelenub name) {
//            name.printStackTrace();
//            log.debug("手机号重复");
//            System.out.println("手机号重复");
//
//        }
//    }
//
//    public static void select(String sum) {
//        try {
//            EmployeeMapper.select(sum);
//        } catch (EmployeeNopeopel mas) {
//            mas.printStackTrace();
//            log.debug("未查到该人员");
//            System.out.println("请检验姓名或手机号");
//        }
//    }
//}
